package com.mankind.ssm.service;

import com.mankind.ssm.mapper.RoleMapper;
import com.mankind.ssm.pojo.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Mankind on 2017/7/15.
 */
@Service("roleService")
public class RoleServiceImpl implements RoleService{
    @Autowired
    private RoleMapper roleMapper;
    public List<Role> selectAllRole(){
        return roleMapper.selectAll();
    }
}
